#include "window.h"
#include "plan.h"
#include "arbre.h"
#include "teapot.h"
#include "text.h"
#include "maLumiere.h"
// GI begin
#include "fumee.h"
// GI end
#include <string>

int main(int argc, char**argv)
{
  Window *win = WindowCreator::createWindow("toto",0,0,300,300,&argc,argv);
    

 //Les lumieres
  Lumiere lum;
  lum.setPosition(0,5,1);
  lum.setCutoff(180.0);

  //un Petit peu de vent
  Vent vent;

  Fumee fumee(&vent);
  fumee.setPosition(0.0, 0.0, 0.0);

  Scene scene;
  scene.addLumiere(&lum);

  scene.addObjet(&fumee);
  scene.addTimerListener(&fumee);
  scene.addTimerListener(&vent);

  win->setScene(&scene);
  win->mainLoop();
  return 0;
}
 
